# -*- coding: utf-8 -*-
# @Time    : 2023/4/14 16:28
# @Author  : ZSQ
# @Email   : zsq199170918@163.com
# @FileName: items_gp.py.py
# @Software: PyCharm

import scrapy


class GP01Item(scrapy.Item):
    """
    楼盘基础信息
    """
    address = scrapy.Field()
    districtName = scrapy.Field()
    visibility = scrapy.Field()
    totalRoomCount = scrapy.Field()
    siteName = scrapy.Field()
    builtBuilding = scrapy.Field()
    cityId = scrapy.Field()
    districtId = scrapy.Field()
    cityName = scrapy.Field()
    isDeleted = scrapy.Field()
    buildingNo = scrapy.Field()
    isSpecial = scrapy.Field()
    otherAddress = scrapy.Field()
    name = scrapy.Field()
    isWhite = scrapy.Field()
    otherName = scrapy.Field()
    id = scrapy.Field()
    isVirtual = scrapy.Field()
    sr = scrapy.Field()
    isBuilt = scrapy.Field()  # 是否有待建
    isFind = scrapy.Field()  # 是否存在、是否唯一


class GP02Item(scrapy.Item):
    """
    楼盘详细信息
    """
    _id = scrapy.Field()
    antId = scrapy.Field()
    cityId = scrapy.Field()
    location = scrapy.Field()
    gddistrictname = scrapy.Field()
    cityName = scrapy.Field()
    street = scrapy.Field()
    tel = scrapy.Field()
    cityCode = scrapy.Field()
    communityUrl = scrapy.Field()
    province = scrapy.Field()
    provinceName = scrapy.Field()
    type = scrapy.Field()
    citycode = scrapy.Field()
    dataUrl = scrapy.Field()
    gdaddress = scrapy.Field()
    shangQuan = scrapy.Field()
    geo = scrapy.Field()
    status = scrapy.Field()
    sr = scrapy.Field()
    addresssimilar = scrapy.Field()
    buildYear = scrapy.Field()
    districtName = scrapy.Field()
    price = scrapy.Field()
    propertyFee = scrapy.Field()
    gdfinish = scrapy.Field()
    mapsr = scrapy.Field()
    identifier = scrapy.Field()
    provinceId = scrapy.Field()
    position = scrapy.Field()
    buildType = scrapy.Field()
    createTime = scrapy.Field()
    other = scrapy.Field()
    totalRoomCount = scrapy.Field()
    guidUrl = scrapy.Field()
    fetchMonth = scrapy.Field()
    gdid = scrapy.Field()
    version = scrapy.Field()
    districtId = scrapy.Field()
    provincecode = scrapy.Field()
    name = scrapy.Field()
    developerName = scrapy.Field()
    mcsimilar = scrapy.Field()
    siteName = scrapy.Field()
    gdmc = scrapy.Field()
    similar = scrapy.Field()
    logs = scrapy.Field()
    totalNumberOfBuildings = scrapy.Field()
    isVirtual = scrapy.Field()
    updateDate = scrapy.Field()
    fetchDate = scrapy.Field()
    propertyCompany = scrapy.Field()
    agencyCompany = scrapy.Field()
    ip = scrapy.Field()
    guid = scrapy.Field()
    dataType = scrapy.Field()
    districtcode = scrapy.Field()
    address = scrapy.Field()
    gdcityname = scrapy.Field()
    broker = scrapy.Field()
    regionId = scrapy.Field()
    priceTrend = scrapy.Field()
    frequencyOfAttention = scrapy.Field()
    stdName = scrapy.Field()
    stdUrl = scrapy.Field()
    otherName = scrapy.Field()
    otherAddress = scrapy.Field()
    stdAddress = scrapy.Field()
    guidList = scrapy.Field()
    createDate = scrapy.Field()
    projectBrief = scrapy.Field()
    grossBuildArea = scrapy.Field()
    communityUri = scrapy.Field()
    numberOfParkingSpaces = scrapy.Field()
    numberOfHouses = scrapy.Field()
    floorAreaRatio = scrapy.Field()
    greeningRate = scrapy.Field()
    propertyYears = scrapy.Field()
    transportFacility = scrapy.Field()
    bank = scrapy.Field()
    property = scrapy.Field()
    roomType = scrapy.Field()
    directionType = scrapy.Field()
    coverageArea = scrapy.Field()
    buildStructure = scrapy.Field()
    totalPrice = scrapy.Field()
    priceType = scrapy.Field()
    buildArea = scrapy.Field()
    propertyCompanyPhone = scrapy.Field()
    medicalFacility = scrapy.Field()
    caseNO = scrapy.Field()
    decorationStatu = scrapy.Field()
    educationFacility = scrapy.Field()
    postOffice = scrapy.Field()
    totalFloor = scrapy.Field()
    caseDate = scrapy.Field()
    commerce = scrapy.Field()
    title = scrapy.Field()
    caseType = scrapy.Field()
    floor = scrapy.Field()
    roomStructureType = scrapy.Field()
    decorationType = scrapy.Field()
    propertyDescription = scrapy.Field()
    elevator = scrapy.Field()
    openingTime = scrapy.Field()
    permitForPresale = scrapy.Field()
    mainUnit = scrapy.Field()
    priceInformation = scrapy.Field()
    isDeleted = scrapy.Field()
    shape = scrapy.Field()
    checkin_date = scrapy.Field()
    typeName = scrapy.Field()
    classify = scrapy.Field()
    introduction = scrapy.Field()
    typeCode = scrapy.Field()
    communityMark = scrapy.Field()
    browseTimes = scrapy.Field()
    url = scrapy.Field()
    originId = scrapy.Field()
    qualityDetail = scrapy.Field()
    fullOneYear = scrapy.Field()
    mainQuality = scrapy.Field()
    active = scrapy.Field()
    qualityMainMessage = scrapy.Field()
    refTag = scrapy.Field()
    confirm = scrapy.Field()
    open = scrapy.Field()
    buildNum = scrapy.Field()
    communityFacility = scrapy.Field()
    geohash9 = scrapy.Field()
    geohash8 = scrapy.Field()
    geohash7 = scrapy.Field()
    geohash6 = scrapy.Field()
    geohash5 = scrapy.Field()
    geohash4 = scrapy.Field()
    roomNum = scrapy.Field()
    qualityCoefficient = scrapy.Field()
    isSpecial = scrapy.Field()
    polygonName = scrapy.Field()
    datas = scrapy.Field()
    isWhite = scrapy.Field()
    buildingDensity = scrapy.Field()
    elevatorBrand = scrapy.Field()
    provinceCode = scrapy.Field()
    isDelete = scrapy.Field()
    isPrint = scrapy.Field()
    polygonId = scrapy.Field()
    hasElevator = scrapy.Field()
    aas = scrapy.Field()
    buildingNo = scrapy.Field()
    originQuality = scrapy.Field()
    buildYearStart = scrapy.Field()
    buildYearEnd = scrapy.Field()
    equipment = scrapy.Field()
    priceDesc = scrapy.Field()
    isPerfect = scrapy.Field()
    townId = scrapy.Field()
    townName = scrapy.Field()
    communityQuality = scrapy.Field()
    developerBrand = scrapy.Field()
    haveGarage = scrapy.Field()
    haveGas = scrapy.Field()
    isRiverview = scrapy.Field()
    isDuplex = scrapy.Field()
    haveFortress = scrapy.Field()
    remarks = scrapy.Field()
    landDevelopment = scrapy.Field()
    eastTo = scrapy.Field()
    westTo = scrapy.Field()
    southTo = scrapy.Field()
    northTo = scrapy.Field()
    regionalLocation = scrapy.Field()
    projectSupport = scrapy.Field()
    areaCommonLand = scrapy.Field()
    shapeOfLand = scrapy.Field()
    landTopography = scrapy.Field()
    avgFee = scrapy.Field()
    cases = scrapy.Field()
    score = scrapy.Field()
    sample = scrapy.Field()
    mainCategory = scrapy.Field()
    mainAreasSection = scrapy.Field()
    mainCenterPoint = scrapy.Field()
    totalRoomNum = scrapy.Field()
    buildingNum = scrapy.Field()
    id = scrapy.Field()
    pis = scrapy.Field()
    fetchTime = scrapy.Field()
    updateId = scrapy.Field()
    updateName = scrapy.Field()
    builtBuilding = scrapy.Field()
    insertDate = scrapy.Field()
    communityId = scrapy.Field()


class GP03Item(scrapy.Item):
    """
    楼栋信息
    """
    floorFunctionDistribution = scrapy.Field()
    cityId = scrapy.Field()
    type = scrapy.Field()
    elevator = scrapy.Field()
    builtDate = scrapy.Field()
    haveFortress = scrapy.Field()
    property = scrapy.Field()
    communityName = scrapy.Field()
    id = scrapy.Field()
    propertyFee = scrapy.Field()
    roomNo = scrapy.Field()
    visibility = scrapy.Field()
    unitCount = scrapy.Field()
    isRiverview = scrapy.Field()
    name = scrapy.Field()
    totalFloor = scrapy.Field()
    isWhite = scrapy.Field()
    updateDate = scrapy.Field()
    overGroundFloor = scrapy.Field()
    cityName = scrapy.Field()
    isDeleted = scrapy.Field()
    unitSet = scrapy.Field()
    roomNoPerFloor = scrapy.Field()
    communityId = scrapy.Field()
    sr = scrapy.Field()
    address = scrapy.Field()
    districtName = scrapy.Field()
    typeOfLandUseRight = scrapy.Field()
    haveGas = scrapy.Field()
    calCategory = scrapy.Field()
    districtId = scrapy.Field()
    createTime = scrapy.Field()
    underGroundFloor = scrapy.Field()
    landUse = scrapy.Field()
    liftBrand = scrapy.Field()
    communityQuality = scrapy.Field()
    mainArea = scrapy.Field()
    updateId = scrapy.Field()
    fetchTime = scrapy.Field()
    propertyDescription = scrapy.Field()
    elevatorTotal = scrapy.Field()
    updateName = scrapy.Field()
    wallDecoration = scrapy.Field()
    haveGarage = scrapy.Field()
    coefficient = scrapy.Field()
    otherName = scrapy.Field()
    priceDesc = scrapy.Field()
    buildStructure = scrapy.Field()
    nonStandDesc = scrapy.Field()
    dataFrom = scrapy.Field()
    publicDecoration = scrapy.Field()
    isDuplex = scrapy.Field()
    remarks = scrapy.Field()
    organizationId = scrapy.Field()
    createId = scrapy.Field()
    createName = scrapy.Field()
    createDate = scrapy.Field()
    antId = scrapy.Field()
    terminationOfLandUseRightDate = scrapy.Field()


class GP04Item(scrapy.Item):
    """
    住宅类别
    """
    communityName = scrapy.Field()
    communityId = scrapy.Field()
    residenceTypeName = scrapy.Field()
    areas = scrapy.Field()
    areasNo = scrapy.Field()
    residenceTypeId = scrapy.Field()


class GP05Item(scrapy.Item):
    """
    面积段均价
    """
    updateDate = scrapy.Field()
    avgPrice = scrapy.Field()
    manualCommunityAvgPrice = scrapy.Field()
    calAvgPrice = scrapy.Field()
    manualPrice = scrapy.Field()
    cityId = scrapy.Field()
    type = scrapy.Field()
    mainArea = scrapy.Field()
    manualCalAvgPrice = scrapy.Field()
    methodOfAvgPrice = scrapy.Field()
    cityName = scrapy.Field()
    isDeleted = scrapy.Field()
    communityName = scrapy.Field()
    id = scrapy.Field()
    communityId = scrapy.Field()
    usedPriceList = scrapy.Field()
    areasSection = scrapy.Field()
    areasString = scrapy.Field()
    districtName = scrapy.Field()
    visibility = scrapy.Field()
    caseNo = scrapy.Field()
    centerPoint = scrapy.Field()
    districtId = scrapy.Field()
    usedCaseIdList = scrapy.Field()
    communityAvgPrice = scrapy.Field()
    calDate = scrapy.Field()
